package com.itheima.web.controller;

import com.itheima.domain.User;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class UserController {

    @RequestMapping("param2")
    public String test(User user) {
        System.out.println("恭喜你访问到我了");
        System.out.println(user);
        return "success.jsp";
    }
}


